package com.thinkgem.jeesite.cn.yy.entity;

/**
 * 数据库表的字段信息表
 * Created by Administrator on 2017/11/17 0017.
 * yzw
 */
public class ProTableCol {
    /**
     * 数据表字段编号
     */
    private int col_id;
    /**
     * 数据表字段名
     */
    private String col_name;
    /**
     * 数据表字段的类型
     */
    private String col_type;
    /**
     * 数据表字段的长度
     */
    private int col_length;
    /**
     * 数据表字段是否为空
     */
    private int col_isNull;
    /**
     * 数据表约束条件
     */
    private String col_restrict;
    /**
     * 数据库表编号
     */
    private int tab_id;

    /**
     * 数据表列编号
     */
    private int col_cid;


    public ProTableCol(){}


    public ProTableCol(int col_id, String col_name, String col_type, int col_length, int col_isNull, String col_restrict, int tab_id, int col_cid) {
        this.col_id = col_id;
        this.col_name = col_name;
        this.col_type = col_type;
        this.col_length = col_length;
        this.col_isNull = col_isNull;
        this.col_restrict = col_restrict;
        this.tab_id = tab_id;
        this.col_cid = col_cid;
    }

    public int getCol_cid() {
        return col_cid;
    }

    public void setCol_cid(int col_cid) {
        this.col_cid = col_cid;
    }

    public String getCol_type() {
        return col_type;
    }

    public void setCol_type(String col_type) {
        this.col_type = col_type;
    }

    public int getCol_length() {
        return col_length;
    }

    public void setCol_length(int col_length) {
        this.col_length = col_length;
    }

    public int isCol_isNull() {
        return col_isNull;
    }

    public void setCol_isNull(int col_isNull) {
        this.col_isNull = col_isNull;
    }

    public String getCol_restrict() {
        return col_restrict;
    }

    public void setCol_restrict(String col_restrict) {
        this.col_restrict = col_restrict;
    }

    public int getTab_id() {
        return tab_id;
    }

    public void setTab_id(int tab_id) {
        this.tab_id = tab_id;
    }




    public int getCol_id() {
        return col_id;
    }

    public void setCol_id(int col_id) {
        this.col_id = col_id;
    }

    public String getCol_name() {
        return col_name;
    }

    public void setCol_name(String col_name) {
        this.col_name = col_name;
    }
}
